from appium.webdriver.common.appiumby import AppiumBy

from base.wework_app import WorkPage
from page.add_page import AddPage


class GroupPage(WorkPage):
    _input = AppiumBy.XPATH, "//*[@text='添加成员']"

    def group_page(self):
        # 点击添加人员
        self.find_ele_click(self._input)
        return AddPage(self.driver)
